package com.osdp.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.osdp.base.entity.SysDict;

import java.util.List;

public interface ISysDictService extends IService<SysDict> {
    public IPage<SysDict> pageList(SysDict org, Page<SysDict> page);

    public List<SysDict> queryAllList();

    public SysDict getByDictId(String id);

    public boolean insertDict(SysDict entity);

    public boolean updateDict(SysDict entity);

    public boolean deleteDict(String id);

    public boolean deleteBatcah(List<String> ids);
}
